<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<%@ include file="../include/include.jsp"%>
<title>二手车资讯_二手车新闻_麦麦车二手车网络超市</title>
<meta name="description" content="厦门麦麦车二手车网络超市资讯频道提供最专业及时的二手车新闻，麦麦车专家倾情奉献的二手车百事通，二手车评估案例，以及麦麦车独有的人物访谈和二手车专题。" />
<meta name="Keywords" content="麦麦车,厦门二手车,二手车资讯,二手车热点,二手车政策,二手车动态,二手车新闻" />
<link rel="stylesheet" type="text/css" href="${cssPath}/resources/css/news.css">
</head>
<body>
	<%@ include file="../include/head.jsp"%>
	<!--#cnt 中间的内容-->
	<div id="cnt">
		<div class="cnt-wrap">
			<div class="left-cnt f-fl">
				<!--path-wrap 面包屑-->
				<div class="path-wrap">
					<div class="path">
						<span>当前位置：</span>
						<a href="${contextPath}">二手车网络超市</a>
						<span>&gt;</span>
						<a href="${zxPath}/all/">二手车咨询</a>
					</div>
				</div>
				<!--path-wrap end-->
				<!--news-tab-wrap-->
				<ul class="news-tab-wrap">
					<li ${type == 'all' ? 'class="news-tab-crt"' :''}><!--选中项添加class="news-tab-crt"-->
						<a href="${zxPath}/all">全部</a>
					</li>
					<li ${type == '1' ? 'class="news-tab-crt"' :''}>
						<a href="${zxPath}/1">行业政策</a>
					</li>
					<li ${type == '2' ? 'class="news-tab-crt"' :''}>
						<a href="${zxPath}/2">国内市场</a>
					</li>
					<li ${type == '3' ? 'class="news-tab-crt"' :''}>
						<a href="${zxPath}/3">国际市场</a>
					</li>
					<li ${type == '4' ? 'class="news-tab-crt"' :''}>
						<a href="${zxPath}/4">本地市场</a>
					</li>
				</ul>
				<!--news-tab-wrap end-->
				<!--news-list-wrap 新闻列表-->
				<ul class="news-list-wrap">
					<c:forEach var="article" items="${news}" varStatus="status">
					<li ${status.index%2==1? 'class="even"' : '' }>
						<div class="news-list-hd">
							<h3 class="mmche-icon f-fl">
								<a href="${zxPath}/${article.id}.html">
									${article.title}
								</a>
							</h3>
							<span class="news-time f-fr">
								${article.updateTime}
							</span>
							<div class="f-clear"></div>
						</div>
						<p class="news-para">
							${article.firstPart}<a href="${zxPath}/${article.id}.html">阅读全部&gt;&gt;</a>
						</p>
					</li>
					</c:forEach>
				</ul>
				<!--news-list-wrap end-->
				<c:if test="${pageMan.totalPage > 1}">
				<!--pagination-wrap 页码-->
				<div class="pagination">
					<div class="pagination-wrap">
				        <c:if test="${pageMan.pageNo!=1}">
						<a href="${zxPath}${fn:replace(page_url,'PAGE',pageMan.pageNo-1)}" class="mmche-icon pre-positive page">
							上一页
						</a>
						</c:if>
						<c:if test="${pageMan.pageNo ==1}">
						<span class="mmche-icon pre-negative page">
							上一页
						</span>
						</c:if>
						<c:if test="${pageMan.pageStart>1}">
						<a href="${zxPath}${fn:replace(page_url,'PAGE',1)}">
							1
						</a>
						</c:if>
						<c:if test="${pageMan.pageStart>2}">
						<a href="${zxPath}${fn:replace(page_url,'PAGE',2)}">
							2
						</a>
						</c:if>
						<c:if test="${pageMan.pageStart>3}">
		 					<span>...</span>
		 				</c:if>
						<c:forEach var="i" begin="${pageMan.pageStart}" end="${pageMan.pageEnd}" step="1">
							<a href="${zxPath}${fn:replace(page_url,'PAGE',i)}" ${pageMan.pageNo == i ? 'class="crt-pagination"' : ''}>${i}</a>
	 					</c:forEach>
	 					<c:if test="${pageMan.pageEnd<pageMan.totalPage-2}">
		 					<span>...</span>
		 				</c:if>
						<c:if test="${pageMan.pageEnd<pageMan.totalPage-1}">
						<a href="${zxPath}${fn:replace(page_url,'PAGE',pageMan.totalPage-1)}">
							${pageMan.totalPage-1}
						</a>
						</c:if>
						<c:if test="${pageMan.pageEnd<pageMan.totalPage}">
						<a href="${zxPath}${fn:replace(page_url,'PAGE',pageMan.totalPage)}">
							${pageMan.totalPage}
						</a>
						</c:if>
						<c:if test="${pageMan.pageNo != pageMan.totalPage}">
						<a href="${zxPath}${fn:replace(page_url,'PAGE',pageMan.pageNo+1)}" class="mmche-icon next-positive page">
							下一页
						</a>
						</c:if>
						<c:if test="${pageMan.pageNo == pageMan.totalPage}">
						<span class="mmche-icon next-negative page">
							下一页
						</span>
						</c:if>
						<div class="f-clear"></div>
					</div>
				</div>
				<!--pagination-wrap end-->
				</c:if>
			</div>
			<div class="right-cnt f-fr">
				<!-- article-wrap 热点资讯-->
				<div class="article-wrap">
					<div class="right-hd mmche-bg">
						<span class="f-fl">热点资讯</span>
						<div class="f-clear"></div>
					</div>
					<ul class="article-list">
						<c:forEach var="article" items="${hotNews}" varStatus="status">
 						<li>
							<span class="f-fl list-no ${status.index<3 ? 'orange-bg' : ''}">${status.index+1}</span><a href="${zxPath}/${article.id}.html" class="f-fl text-ellipsis">${article.title}</a>
						</li>
						</c:forEach>
					</ul>
				</div>
				<!--article-wrap end-->
				<!--cnt-wrap 网友都在关注-->
				<div class="cnt-wrap">
					<div class="cnt-hd-wrap">
						<h2 class="f-fl">
							网友都在关注
						</h2>
						<a href="${contextPath}/buycar/" class="more f-fr">
							更多>
						</a>
						<div class="f-clear"></div>
					</div>
					<ul class="cnt-list">
						<c:forEach var="car" items="${hotCars}" varStatus="status">
						<li ${status.last ? 'class="border-none"' : '' }>
							<div class="cnt-pro-img v-h-center">
								<a href="${contextPath}/car/${car.id}.html">
									<img src="${car.imgPath}/${car.indexMainPicName}" title="${car.online.title}" alt="${car.online.title}" width="155px" height="124px">
								</a>
							</div>
							<div class="text-ellipsis cnt-pro-name">
								<a href="${contextPath}/car/${car.id}.html">
									${car.online.title}
								</a>
							</div>
							<div class="cnt-pro-info text-ellipsis">
								<span>${car.registerMonth}</span>&nbsp;&nbsp;<span>${car.mileage}万公里</span>
							</div>
							<div class="cnt-pro-info text-ellipsis">
								麦麦车一口价：<span class="price-sum">
								￥${car.price}
							</span>
							</div>
						</li>
						</c:forEach>
					</ul>
				</div>
				<!--cnt-wrap end-->
			</div>
			<div class="f-clear"></div>
		</div>
	</div>
	<!--#cnt end-->
	<%@ include file="../include/foot.jsp"%>
	<script>
	$(document).ready(function(){
	});
	</script>
</body>
</html>